<template>
    <div ref="eCharts" style="height: 100%"></div>
</template>

<script>
    import BaseCharts from "./BaseCharts";
    export default {
        name: "ExampleCharts",
        mixins:[BaseCharts],
        mounted(){
            this.$nextTick(function (){
                this.draw();
            })

        },
        methods: {
            draw(){
                //这个格式可以参考echarts。
                var option={};
                this.drawCharts(option);
            }
        }
    }
</script>
